package com.xln.furns.service.impl;

import com.xln.furns.dao.ManageDAO;
import com.xln.furns.dao.impl.ManageDAOimpl;
import com.xln.furns.entity.Manage;
import com.xln.furns.service.ManageService;

public class ManageServiceimpl implements ManageService {
    @Override
    public Manage Managelogin(Manage manage) {
        ManageDAO manageDAO = new ManageDAOimpl();

        return manageDAO.queryByNameAndPassword(manage.getName(), manage.getPassword());
    }
}
